#if !USE_CONSOLE

#ifndef LIGHT_TREE_ITEM_H
#define LIGHT_TREE_ITEM_H

#include "src/scene/light.h"

#include "src/interface/treeItem.h"

class LightTreeItem : public TreeItem {
    public:
        LightTreeItem(QTreeWidgetItem * = 0, Light * = 0);
        ~LightTreeItem();

        unsigned int getType() const {return LIGHT_ITEM;};

        Light *getLight();

        void update();
        void select(bool);

    private:
        Light *light;
};

#endif

#endif //!USE_CONSOLE
